summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlat9nq <22451773+lat9nq@users.noreply.github.com>2023-09-13 19:35:36 +0200
committerlat9nq <22451773+lat9nq@users.noreply.github.com>2023-09-13 19:52:09 +0200
commit5ffa1049ae639215f4885684a39607875cb9497b (patch)
treead60181eaf98bd954b9283b13ef1a7db2760afc9
parentshared_widget: Forward-port Citra changes (diff)
downloadyuzu-5ffa1049ae639215f4885684a39607875cb9497b.tar
yuzu-5ffa1049ae639215f4885684a39607875cb9497b.tar.gz
yuzu-5ffa1049ae639215f4885684a39607875cb9497b.tar.bz2
yuzu-5ffa1049ae639215f4885684a39607875cb9497b.tar.lz
yuzu-5ffa1049ae639215f4885684a39607875cb9497b.tar.xz
yuzu-5ffa1049ae639215f4885684a39607875cb9497b.tar.zst
yuzu-5ffa1049ae639215f4885684a39607875cb9497b.zip
-rw-r--r--src/yuzu_cmd/config.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/yuzu_cmd/config.cpp b/src/yuzu_cmd/config.cpp
index c42d98709..0d25ff400 100644
--- a/src/yuzu_cmd/config.cpp
+++ b/src/yuzu_cmd/config.cpp
@@ -259,7 +259,7 @@ void Config::ReadValues() {
std::stringstream ss(title_list);
std::string line;
while (std::getline(ss, line, '|')) {
- const auto title_id = std::stoul(line, nullptr, 16);
+ const auto title_id = std::strtoul(line.c_str(), nullptr, 16);
const auto disabled_list = sdl2_config->Get("AddOns", "disabled_" + line, "");
std::stringstream inner_ss(disabled_list);